<?php

class AIS_ServiceException extends Exception {
	private $data;
	
	/**
	 * The data that will be sent in the json error response
	 * @return mixed
	 */
	public function getData() {
		return $this->data;
	}
	public function __construct($message, $data)
	{
		parent::__construct($message);
		$this->data = $data;
	}
}

?>